Update medium-slider.js