Update stepper.js

ToDo before merge:
- [X] Update code comments
- [x] Update test specs
- [x] cleanup code
- [x] Check previous docs