Cordova support

I know this isn't the "right way" to do it but I could not get the
suggested solution working/.

Correct solution is in:

https://github.com/appMobi/jQ.Mobi/pull/167

but as I say it doesn't work for me