[js] typed_arrays: test empty ABV constructor call
[js] emitters: allow different number of arguments in emitter/listener functions