Get location on page load