router: require only *.js files