Fixed a JS error and made strings translatable in the actor template.