Reworked code to break out functions and rewrite forecast dictionary into object. Moved javascript out of html and into js doc successfully.