switch to js-module

switch to js-module so phonegap-nfc.js does not need to be manually added to index.html