add prettify
Change to jQuery for building DOM