Update mirror.js

Move setTimeout tot top of functions. Weather would stop updating if no answer is received from OpenWeatherMap