Update the JS binding code & samples for latest cocos2d engine.
Merge pull request #4750 from natural-law/develop

Update the JS binding code & samples for latest cocos2d engine.