Refactor task datepicker jQuery into new_task.js