fixed minimization issues in application.js