kill localstorage before ajax call