Added a mechanism for doing translations for javascript in a standard way