updated barcodescanner.js and README to be in alignment with cordova require/define spec