An rule inference engine, in Javascript, for Node and the browser