fixed feature detection for localstorage for 3rd party applications