https://developer.mozilla.org/en-US/docs/Web/API/URL/URL
https://url.spec.whatwg.org/
https://github.com/whatwg/url
Natively available in Firefox 26+, Chrome, Safari, Opera. Not in any version of IE yet.
Spec is still relatively new, but use of it (with conditional polyfill) may simplify our code base, speed up execution, and get us more in line with standardised interfaces and parsing algorithms. Right now we have a custom regex that works for most URLs but does have its shortcomings.