Update slider.js

need to use getAttribute('value') not sure why but it fixes the logging. now to get the text box to update properly