Added timer to refresh temps every 30 seconds. Formatted JavaScript