minor cleanup of stepper.js