Remove "global" flag

Replaced unescape with undeprecated decodeURI