Fixed the place of .js files to public dir, changed bar_chart a little.