Proper localization for ransack ui javascripting