This version is old school.
Please find jQuery plugins on npm.
Relative Slider
jQuery plugin to calculate the relative worth of individual sliders relative to the total selected value. (If you have 5 sliders, 4 are on 100, 1 is on 0, then the 4 on 100 will have a percentage value of 25% each, the one on 0 will be 0%