Update js to set an already checked checkbox to toggle its data-target