OO js in application.js file