Refactor HighstockLineGraph so it uses CoffeeScript