Move from CoffeeScript to JavaScript - Markdown