updated wot to use commonjs httpclient