Scaling Artwork

in rive and in the embedd link everything looks fine but when we try to initialize the *.riv file with js we get some wired scaling, images are not loading, or statemachine animations are not firing. it surely has to to with my codingability. can anyone explain / help why this is happening and what to do about it?