seems we can omit lock here since we're on browser thread.