dealing with async process, not getting browser location before sending request