Tab cleanup on routes.js