Change to my current style of JS objects and game controller logic.