[Cocos2d-JS] Improve docs for 3.1 release and Facebook docs