Replaced dot notation with bracket notation when assigning to 'null' key, as it doesn't work in IE8.