added bar.js and linegraph.js