main.js added to application javascript