Added jQueryUI and date checks.