pass HTML snippet through json_encode() for embed JS #8
remove unused code #8
Merge pull request #19 from openscholar/8-json_encode

Fix JS parse error for HTML snippet in single quotes