js slider editor, working directly on slider (made for LayerSlider, can evoluate to work with others)