change local storage support check