JavascriptResponse i18n.

@sarina Please review. A real nitpick, but in these error messages, do we use a final period or not? It's really trivial but we might as well be consistent.