models/application.js cleanup