added fallback for for .js files for routes