Allow typing of temps

Updates to allow users to edit temperature inputs without using arrows.

Javascript can be simplified I'm sure, been a long time since I did a
lot with JS!