Added jQuery-ui datepicker widget to help assist operators create events.
Moved control javascript inside jade views.