Simple javascript library for rendering a slider