             hrefs.push(tag.href)
         else
             logger.error("Strange link in statements toc: " + tag.href + " " + href)
-            
+
     return hrefs
 
 parseStatements = (activity, order) ->

        if not section
            continue
        materials.push(parseSection(section, sectionId))
        
    materials = await finalizeMaterialsList(materials)
        
    mainPageMaterial = new Material
        _id: "main"
        order: 0


downloadAndParse = (href) ->
    jar = request.jar()
    page = await request
        url: href
        jar: jar
    document = (new JSDOM(page, {url: href})).window.document
