Change defer timeout to 4ms

Changed the timeout in the `defer` method to 4 milliseconds, the standard minimum delay per the HTML5 spec:

https://developer.mozilla.org/en-US/docs/Web/API/window.setTimeout#Minimum.2F_maximum_delay_and_timeout_nesting