DokuWiki interprets two apostrophes (ยดยด) as the beginning of an inline code block.
So at the part
LANG.nosmblinks = '';
You are opening the block, but not closing it afterwards, so the rest of the page is considered code, and the wiki-syntax is therefore ignored.
EDIT: Normally, two spaces at the beginning of a new line creates a different kind of box that lets you highlight code without rendering wiki-syntax. I am guessing that one of changes you made deleted that behaviour.