code: @Deprecated
      public static Callable getElemFunctionAndThis(Object obj,
                                                    Object elem,
                                                    Context cx)
      {
          return getElemFunctionAndThis(obj, elem, cx, getTopCallScope(cx));
      }
docs: Prepare for calling obj[id](...): return function corresponding to
  obj[id] and make obj properly converted to Scriptable available
  as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.
  The caller must call ScriptRuntime.lastStoredScriptable() immediately
  after calling this method.
  
  @deprecated Use {@link #getElemFunctionAndThis(Object, Object, Context, Scriptable)} instead