fixed UI syntax and make application.js