add jquery-ui datepicker via CDN

Also, for touch and input.date capable devices, use input.type instead.