Refactoring code ``widget.py`` ``HTMLFormElement`` ``def addClass``