Fix connectors between titles and figures, use requireJS for module
loading