used jQuery prop for checked handling