Solved an issue in IE where keys with no value ("key=")

Solved an issue in IE where keys with no value ("key=") because the value is set as undefined instead of empty string.