nunaliit2-js: Fix issue where linked documents are not reported.

Issue #196
Merge branch 'master' of https://github.com/GCRC/nunaliit.git