A Javascript utility to throttle function calls to a specific buffer delay