move custom title out of html and into maps_lib so the custom data is in one file