A simple interface for a digital thermostat, using JavaScript, jQuery and Jasmine.