Update Application.js

these changes have been moved to view