Code cleanup; use CSS where possible

- Some misc code cleanup / simplifications
- Use .show-calendar CSS class to control showing/hiding of calendars -- allowing you to style "calendar open" datepicker differently than "calendar closed" datepicker