switched to phonegap