I don't think this file (sensor.js) is used anymore. Sorry I should have deleted it before.