main.js require setup