Clean the phonegap