a wrapper of webAwk, wak in javascript