A simple JavaScript class useful for capping the maximum temporal frequency of events.