removed cordova.define
naming conventions edits.