Split index.js into modules

Create moz-docs to fetch documentation from MDN, and get-section to
extract a section from a document.