Move js to external file application.js