Make chart work even if base url lacks trailing forward slash.