moved js to application.js