beautification in application.js and lists.html