CB-6854 Strip BOM when adding cordova.define() to js-modules