code: @Override
      public void attachScriptFile(IScriptable target, IScriptFile scriptFile) {
          mScriptMap.put(target, scriptFile);
          scriptFile.invokeFunction("onAttach", new Object[] { target });
      }
docs: Attach a script file to a scriptable target.
  
  @param target The scriptable target.
  @param scriptFile The script file object.