Improving localStorage