Add callback function in dart to jquery UI component