nunaliit2-js: Help dialog. Compute size of content before dialog box is
opened. Adjust height if it is predicted that the content will be larger
than the window.

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