Updated weather.js

Updated the weather.js to use a dictionary of the possible weather
variables rather than a big chain of if/else statements. Performs
quicker and looks cleaner.