enable js by default
add mind map source
basic mind map works with some hacks
some basic refactoring