Place root.js update and draw methods in game.js