nunaliit2-js: Start work on createDocument widget

Issue #289