new js-only ucfirst (from php), CASSIS sld_of_uri

new JS-only function ucfirst (already exists natively in PHP)
new CASSIS webaddress function sld_of_uri for retrieving Second Level
Domain from a URI.