Fixed small bug in routes.js