use jquery to get checkbox state