Datepicker works for task edit form again
Tidied up javascript and consolidated it in twango.js