code cleanup to JS, CSS, and controllers