Update path.js

rename router to routes, added 'match' to the public api