Update applet.js

I didn't merge Smeagolworms4's code in as it should be
I'm trying to repair my mistake ^^'