nunaliit2-js: Fix the names of some event attributes.

Issue #266