Framework for Cocos2d-X to call Cordova/PhoneGap plugins