fixed localization error (js error)