Using phonegap to add html5's widget communicate with cocos-html5's widget