Added support with cordova js file that supports IOS6 safari browser