Cleaned the setTimeout in favor of lodash debounce