js version in pys2js
Added unless