PHP-JS gettext manager