Also the lag is likely from shader compilation on the web, it's kind of inevitable if you don't preload the textures/shaders (what i should've done)
Fixed
Just played it again and now It works some much better!