Yes you can change the width and height of windows via plugin parameters of the plugin.
Edit: Oh wait wait, I thought you were talking about my other shop plugin. For this shop plugin you can't do that.
is there any way to do this through the actual java script?
Sure, if you know how to code 😅. My plugins are all adjustable, non obfuscated.