Creation of the iotDashboard js object