Converting to phonegap build