support variant length params with function call from js to C#