Curved Slider JS

JavaScript to manipulate a JqueryUI slider to follow a curved path. It's a little clunky and currently does not work properly on Webkit browsers.