(dev) added cordova support