Detect cordova.js and use relative path - CB-4609
Move app 'paths' to a single