Thermostat JS and CSS modifications