Buildig a hess Engine in JavaScript