searching for syntax error in application.js