upload dishesmap phonegap code