Using jquery ui date for dates