code: public void setScriptText(String scriptText, String language)
      {
          GVRScriptFile newScript = new GVRJavascriptScriptFile(getGVRContext(), scriptText);
          mLanguage = GVRScriptManager.LANG_JAVASCRIPT;
          setScriptFile(newScript);
      }
docs: Loads the script from a text string.
  @param scriptText text string containing script to execute.
  @param language language ("js" or "lua")