.js routes not processed fix