Escape javascript string (fix bug #177)
Merge pull request #182 from harobed/issue-177

Escape javascript string (fix bug #177)