Copy in lodash.throttle source code