Toggling checkboxes works better with modern jquery, cleaning up