nunaliit2-js: Add options to menuselector. Add documentation.

Issue #168