[JS] Add wns option