Refactor HTMLSlider event handler