Adding game.js animation controller