Add Jquery for checkbox checking.

Fix attendance form submission and add JQuery for checking checkboxes.