Fix the combineUrl function

* Allow a url to omit the protocol and use the same protocol as the
* current page