switch to markdown4j (slightly customized) and clean up js / config a little bit.