Fixed bug in application.js (current_user.user)