VTE iOS

recreate for Phonegap