JavaScript app reading the SensorTag device