grab location.search from address bar