compilation doesn't work

Zohaad Fazal
2017-02-17T00:37:48Z

it gives errors while running after I compile it with chrome

Uncaught TypeError: node.classList.indexOf is not a function
I changed node.classList.indexOf > -1 to node.classList.contains('ace_editor') (this fixed the error)

Uncaught TypeError: Cannot read property 'toLowerCase' of undefined

I don't know how to fix the last error