themostat displaying through jquery