Use decodeURIComponent, not unescape

The latter is for html