Fixing #890 - decodeURIComponent on search string.

Invoking decodeURIComponent on search string, calls twice to capture %252C case's.
Removing double call to decodeURIComponent

Now invokes on `(search || hash`)` directly in the toopen assignment
Merge pull request #892 from allouis/master

Fixing #890 - decodeURIComponent on search string.