Update outline after MathJax has finished.