Accelerometer PhoneGap