fixed syntax errors, brought in line with Atom highlighter