Update slider.js

the textbox value is also changing and we need to use getAttribute HOWEVER visually its not updating no idea why