code: @Override
      public void put(final String varName, final Object object) {
          runWithContext(new RhinoCallable<Void, RuntimeException>() {
              @Override
              protected Void doCall(Context cx, Scriptable scope) {
                  scope.put(varName, scope, object != null ? Context.javaToJS(object, scope) : null);
                  return null;
              }
          });
      }
docs: /* (non-Javadoc)
  @see minium.script.rhinojs.JsEngine#put(java.lang.String, java.lang.Object)