Altered air quality to do data munging in javascript not in ruby
Moved map data manipulation from ruby to javascript
Moved more of the data mangling out of ruby and into javascript
Removed redundant code