Whitespace fixes
Adds missing ","
Adds escaping of CDATA elements
Merge pull request #4 from koppor/master

Fixes JavaScript syntax error