refactor args conversion
js.new