Better docs javascript for displaying markup