use the new cleaner 'plugman' hook

which deals with JS files. no need for the ugly injectCordovaPluginJS :D