Accelerometer not supported in phonegap build