clean up routes.js file