Check if browser support localStorage