Only make range slider if (a) inital slider was a range slider or (b) user sets the range attribute explicitly

Note: I had to add "range" to the defaults so the value will be transferred to the new slider upon refresh.