Update flatdoc.js

Based on this fix: https://github.com/rstacruz/flatdoc/pull/13/files