Removed AMD declaration from JS (added automatically by cordova)