[Cocos2d-JS] Improve Facebook integration on iOS