fix command option parsing for js; update verify