I have an element that already has a class:
image1.parentNode.className+=' box';
.box { width: 100px; height:100px; background: red; }