A user friendly code for adding sliders to a web page