Cleaned up export, return htmlElements from pollute.