readded phonegap javascript to index