(Bug 4928) ejs the translation string before putting it into JS

Makes sure that any quotes are escaped before they can cause trouble.
(Bug 4934) Abort the ajax request if user moves away from the trigger

If the user moves away from the trigger while we're still loading, the
loading symbol disappears, but then a few moments later the popup with
content shows up. In this case, we should assume that they're no longer
interested, or triggered it by accident, and prevent the request from
going through.
Merge pull request #307 from afuna/circle-add-quotes-bug4928

(Bug 4928) ejs the translation string before putting it into JS
Merge pull request #308 from afuna/abort-ajax-bug4934

(Bug 4934) Abort the ajax request if user moves away from the trigger
Merge branch 'release-1.14' into develop

* release-1.14:
  (Bug 4934) Abort the ajax request if user moves away from the trigger
  (Bug 4928) ejs the translation string before putting it into JS