Simple Markdown Parser with JavaScript and Regular Expressions