Javascript markdown parsing, made simple