Update weather.js

Added separate cache handling function and localization function, removed duplicate ajax code.