Fix for supporting directory level config.js