Update index.js

phonegap's console not showing errors? Use client-side errors