I18n added gettext wrapper for translating javascript files