Recognize manual URL changes on doc editor page

This ticket lets users manually change the URL on the doc editor page
and have the page automatically load the new doc.

Closes COUCHDB-2490
can we use `!==` here?