Updates I needed for the unmaintained jsmooth project