Updated Temperature code, to accept JSONp calls