tweaks load process to work with optimized js
refactors Game.input dependency