Delete old latlng functions, set id to attribute instead of an option