Generalized index.js files