Removed the sensor parameter as it's no longer required for the JavaScript API.