replaces debounce in the ucl.js file