changed .val() to support checkboxes