Translate JS strings

Should have been part of the previous commit b0f9013.