Base: Load cordova.js before main.js
Base: Load cordova.js before main.js

The device ready event could technically fire before the listener is
bound the other way around

OpenSprinkler/OpenSprinkler-App,PeteBa/OpenSprinkler-App,OpenSprinkler/OpenSprinkler-App,OpenSprinkler/OpenSprinkler-App,PeteBa/OpenSprinkler-App,PeteBa/OpenSprinkler-App