Working on the docs.elgg.org migration

DON'T merge yet, as I'm working on more pages.

I wanted to know if this is the way to go for #6812 
Javascript doesn't belong here anymore.