modified Gemfile.
getting rid of console error on 'live' event. seems like this event is no longer valid on this version. commenting out this functionality for now.
fixed bug where endDatepicker wasn't actually a date picker. The problem was that the id was mislabeled.
creating functions for the initialization of datepickers (rather than having to repeat the code manually).
fixing bug where the datepicker-ui is  open at the bottom of the page when the page first loads. the problem seems to arise after using the 'setDate' function of the datepicker. this seems to be a jquery-ui bug. As a work-around, I manually hide the div that's open after setDate is finished.