Implemented js to show sensor values