Use JavaScript's encodeURIComponent algorithm to encode lookup key in content url