Detect localStorage functionality in IE10