Fix js error on localization dashboard.