Converted share coffeescript into plain javascript
Converted stacked area chart coffeescript into plain javascript