Splitted the javascript code into smaller object files. Also started adding tween.js animations to the game.