Added sensor.js to index.html