Move require from main.js to routes/merchants.js.