Debounce your Javascript events