convert to phonegap build