refactor code to findLongestRoute, set eventlistener to preload routesArray. Celebrate because it works.