 
   // Compute heat index
   // Must send in temp in Fahrenheit!
-  float hi = dht.computeHeatIndex(f, h);
+  float hif = dht.computeHeatIndex(f, h);
 
   // How cold? (temperature and humidity with Arduino)
   // http://wodieskodie.com/how-cold-temperature-and-humidity-with-arduino/

        client.println("Access-Control-Allow-Origin: *");

        // JSON response
        client.print("{\"type\":\"temperature\",\"scale\":\"fahrenheit\",\"title\":\"Fahrenheit\", \"value\":\"");
        client.print(f);
        client.print("\"}");
      }

        client.println("Content-type: text/javascript");
        client.println("Access-Control-Allow-Origin: *");

        // JSON response
        client.print("{\"type\":\"temperature\",");
        client.print("\"scale\":\"celsius\",");
        client.print("\"title\":\"Celsius\",");
        client.print("\"value\":\"");
        client.print(c);
        client.print("\"}");
      }

      if (request == "tempk") {
        client.println("HTTP/1.1 200 OK");
        client.println("Content-type: text/javascript");
        client.println("Access-Control-Allow-Origin: *");

        // JSON response
        client.print("{\"type\":\"temperature\",");
        client.print("\"scale\":\"kelvin\",");
        client.print("\"title\":\"Kelvin\",");
        client.print("\"value\":\"");
        client.print(k);
        client.print("\"}");
      }

      if (request == "hum") {
        client.println("HTTP/1.1 200 OK");
        client.println("Content-type: text/javascript");
        client.println("Access-Control-Allow-Origin: *");

        // JSON response
        client.print("{\"type\":\"humidity\",");
        client.print("\"scale\":\"%\",");
        client.print("\"title\":\"Humidity\",");
        client.print("\"value\":\"");
        client.print(h);
        client.print("\"}");
      }

      if (request == "hif") {
        client.println("HTTP/1.1 200 OK");
        client.println("Content-type: text/javascript");
        client.println("Access-Control-Allow-Origin: *");

        // JSON response
        client.print("{\"type\":\"index\",");
        client.print("\"scale\":\"\",");
        client.print("\"title\":\"Apparent Temperature (Heat Index) in Fahrenheit\",");
        client.print("\"value\":\"");
        client.print(hif);
        client.print("\"}");
      }

     if (request == "hi") {
      //client.print("<br>Heat Index: ");
      client.print(hi);
