Adding javascript file for the sensors view