A lightweight, client-side localization javascript class