Housekeeping on js files and removed unnecessary HTML in some views.