Fixes issure in application.js