Becoming more familiar with jQuery UI, app.js is becoming bloated