Strip tags when setting translation value in js

Otherwise a span tag may be generated, e.g.

  <span class="translation missing" ... >value</span>

which might useful in other context but not in js files since it breaks
everything else on the page

[Fixes #238]