Added jquery.debounce for event throttling