Fix context binding in debounce and throttle functions

@brandonpayton