A simple and plain vanilla JavaScript slider