Update routes.js to use new moduleLoader syntax