seems I forgot a change
shortened histogram.js a bit