cleaned routes.js