Clean-up for route.js