Change size of hype composition using javascript

Hi, I´m new to the forum and to Hype. My question ist quite simple, but I couldn´t find an answer on the web.
How can I change the size (in my case especially the height) of the complete Hype composition dynamically using Javascript, when I use the composition in an existing website?
Formerly I worked with Edge Animate and there I had the function
sym.$(“Stage”).css(“height”, x+“px”);
doing the job. But this seems not to work with Hype. Thanks for your answers!!