https://medium.com/@alexandragrosu03/javascript-for-iot-building-smart-device-applications-5890c35c32ab