main.js directory changes