Remove deprecated function

The unescape() function was deprecated in JavaScript version 1.5. Replaced with decodeURIComponent