parsehtml and output chart for highcharts.js