nunaliit-js: Add ability to find duration during search request

Issue #241