Update slider.js

Quick and dirty fix to avoid name collision with parsley validator.

Parsley looks at min and max and validates the value against those extrema. For a range slider the element's value is an array and parsley validation fails.