Handle cordova.js for 2.5+

Fixes: #731

The way modules load has changed for 2.5. This fixes that.

HACKS: We should really think of starting to use platform
versioning for cordova as our init script is starting to look a little
ugly.