Fixed DOM_EXCEPTION on Chrome

If user's browse mode is private or cookie(localStorage) is disable, "Sys.js:window.localStorage" occur "DOM_EXCEPTION".
Merge pull request #777 from Seasons7/master

Fixed DOM_EXCEPTION on Chrome v24