Clean up interrupt function
Clean up interrupt function

jupyter/jupyter-js-notebook,blink1073/jupyter-js-notebook,jupyter/jupyter-js-notebook,blink1073/jupyter-js-notebook,blink1073/jupyter-js-notebook,jupyter/jupyter-js-notebook,blink1073/jupyter-js-notebook,jupyter/jupyter-js-notebook,blink1073/jupyter-js-notebook,jupyter/jupyter-js-notebook