js error when selected range: 'min' or 'max'

http://api.jqueryui.com/slider/#option-range

Multiple types supported:
Boolean: If set to true, the slider will detect if you have two handles and create a styleable range element between these two.
String: Either "min" or "max". A min range goes from the slider min to one handle. A max range goes from one handle to the slider max.