Fix for issue #81

$window[storageType] would throw unhandled error in Chrome some cases as browserSupportsLocalStorage() had not yet been called. This PR fixes issue #81