add jquery ui css and getDayMS function