Organized game with requirejs