adding jquery event for checkbox selection