Make custom.example.js run in IPython 2