function change(city) {
return function() {
name = this.response.name;
weather = this.response.weather[0].main;
temp = (Math.round(this.response.main.temp - 273.15));
city.value = "City: " + name + "\nWeather: " + weather + "\nTemp: " + temp + "°C"
}
}