- JS debounce function added