Added option 'appendTo' to optionally specify where to append the datepicker element.