Automatically generate javascript binding and lua binding codes for cocos2d-x