Use decodeURIComponent instead of unescape

unescape does not properly handle Unicode