Add js of daterangepicker  and fix error