Implement custom shouldInterruptJavaScript()