fixing undefined IPython var in toc.js