add main to application.js