Would you expect clicking on F to get Farenheight, C for Celsius would cause a full page refresh?
Not me. Surely it would be easier to do the simple math inline in JS?
Or maybe you want to store the fact that this session likes water to boil at 100 and freeze at 0. Then send back an Ajax request to simply say “default to Celsius”