Improving page load by setting recent dates and requesting user location