fix problem with application.js