Bar chart HTML file with embedded javascript