Compatible to Apache Cordova 3.1. Removed options parameter from getCurrentAcceleration method.