declare js-module within platform

declare js-module within platform, otherwise cordova will try and install the plugin for all other installed platforms (in my case iOS).