Updated JS so console log would show colder or warmer