nunaliit2-js: Allow popup function to handle clusters.

Issue #152