Added number of events in the javascript histogram