function clean up. HTML functions.