Small javascript to markdown documentation util