Cordova

Added support for Cordova and Android. Probably works with iOS.