Changes location.href by location.reload in spentBatch