Generate highcharts on rails server. It can be used for email attachments