adding div to html page called barchart_div that will contain the chart drawn in the custom script