cxx2js: method parameters