correct syntax error in application.js