Fixing ||ajax.status==0 and adding CDVAccelerometer plugin line to config.xml to get iPhone accelerometer to work?