updated code to use better hljs directives
more copy updates