Create sensor.js