Updated Javascript to work for "My Locations"