fix(check local storage support)