liweinan/ett — pull request #128 by thescouser89 (2014-04-01 15:34:54+00:00)
Title: Propoerly escape ruby string for javascript

Use the to_json method to escape, then remove the extra quotes, then escape the
' symbol