fixing TOC extension for IPython 2.x

- fixed undefined IPython variable in toc.js
- replaced inexisting icon