Dynamic loading of cordova.js lib according to device. Not tested on iOs.