clean up DOM a little