Improved documentation for CustomEvent
Chaged param name in debounce from "interval" to "wait"