Handle 0 value for replacementDelay

Currently ignores a `0` value (as effectively false when using logical operators)

Also, no need to use `setTimeout` if it is `0`