fixed JS error translation