[Cocos2d-JS] Fix Facebook pay API issue