Use jQuery prop method instead of attr

This fixes some problems with mixing select-by-clicking-the-row with select-by-clicking-the-checkbox.