Creation of a simple interface for a digital thermostat, using JavaScript, jQuery and Jasmine