try adding back phonegap script in index.html