Fixed Bug in Example.html & Refactored Slime Update

-fixed missing quote bug in example.html
-starting to move update code out of game.js into class definitions