We already have `URI.js` included in `common` for studio. I think it would be better to load it into the LMS as well, and then use that library to do your url parsing.