Better js api to checklists