tmp: converting javascript function into a php application serving
weather and pollution data as json.