Update the JS binding for plugin.

1. Update the JS binding for plugin
2. Modify the JS binding of interface ProtocolAds::showAds, to make sure it can be compatible with plugin-x on html5.