add CsMaps undefiend check in trips.js.coffee