Well, I know that with some jQuery actions, we can add a lot of classes to a particular div:
L
regarding to robs answer and for and for the sake of completeness you can also use querySelector with vanilla
document.querySelector('#container div.cleanstate').className = "cleanstate";