code cleanup to JS, CSS, and controllers
code cleanup to helpers
code cleanup to models
Merge pull request #189 from gregburton/master

Code cleanup to JS, CSS, controllers, helpers, models