small refactoring
using minified application.js