move parseXML functions to a parseXML sub-object and write vehicleLocations()
rename nb.agencyTag to nb._agencyTag -- pseudo-private
refactor hasError to *not* loop by using :eq(0)