fixed game synchronization
some SWAG
added r.js optimize
game tests