Added phonegap.js into script and added showAlert function in min.'s