split highcharts graph scripts into individual scripts