Perhaps replace these two lines with: This module provides an extension event to use with dojo/on to allow the debouncing of an event.