Clean DOM when publication is destroyed. Fixes #176