moving sparklines JS into coffeescript file