I am using google maps API to get their autocomplete input in my app. Autocomplete is working fine on first load and after refresh of the page. But when I redirect to page with