make deleting localStorage script more precise