Fix JS error when assoc column is read-only