Base: Load cordova.js before main.js

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