Moved JS messages into translatable localized variables