fix(js): elgg.normalize_url no longer modifies urls that begin with a recognized scheme

Fixes #6000
Might as well make it a regular function declaration.