added prism.js support, fixed syntax errors