Remove previous class in jenkins' widget.