jquery status tracking using localstorage