removed the function from application.js