Fixed: encodeURIComponent shortcut is undefined