Complete the changes for automatic MathJax support. Fix some problems with InsertionSortWorstCaseCON.js