add end of doc output to fix https://bugzilla.mozilla.org/show_bug.cgi?id=832030