more diveChart.js changes

more stuff. (Html error happened)