Location not working on mobile - seeing if function is being called