jquery tests arguments by length, not value

leongersen/noUiSlider#350 breaks jQuery val by using a strict comparison against undefined instead of arguments.length.

This breaks cases where you might pass an undefined value. It may not be optimal, but it causes issues with, for example, select2, and angularjs.