update histogram.js and nhit