Accerorometer PhoneGap