Update javascript snippets from @LFDM.
Format whole file without using visual mode.
Set markdown filetype for .md files.