social games framework using cocos2d-js