fix: js-accessible value was not changed by slider function

The .value property of the element was not changed by the _setDataVal function. Therefore it was not possible to get the correct input's value by accessing the element.