Fix javascript override for new IPython