minified version and localeSelector added