nunaliit2-js: Fix naming in user intent code 

Issue #274