fixing slash bug on javascript declaration and adding table of contents css