add some new states
add workaround for no setNormalizedPosition on cocos2d-html
fixes for game and for running in browser, fix layer colors