fixed application.js syntax error