Routes.js configured to handle extension requests