Cleaned up code and fixed minor bugs.
- Removed unnecessary whitespaces.
- Removed unused and incorrect functions.
- Clarified comments.
- Added select input in search form to form-control.
- Fixed bug for date filter bar to stay displayed after new input.
Merge pull request #139 from dsweet04/ui_cleanup

Cleaned up code and fixed minor bugs.