made library for highchart, needs fixing