An interesting concept. I know you said the game runs better when downloaded, but I would try to focus towards optimizing for the browser. For example, I have learned to counter the hard stutter caused by the first time the SFX is spawned is to create a loading screen. Spawn the SFX behind the loading screen and wait for the SFX to finish playing before allowing the player to continue.