Mirror of Apache Cordova Plugin device-motion