title: How to prevent Closure Compiler from creating a particular variable name in the global name space?
body: <p>I'm familiar with the concept of using string literals and exporting to prevent Closure from renaming variables, but how do I prevent Closure from using a variable name that is used as a global variable by other code (which I did not write)?</p>
  
  <p>Example, below was created for a member function of a closure:</p>
  
  <pre><code>  function $() {
    var a;
    if(1 &gt; N) {
          return-1
    }
    a = Math.pow(1 + Q, F);
    return .....
    }
  </code></pre>
  
  <p>Above gets clobbered when jQuery is loaded.</p>
  
  <p>I'm using the command line compiler and this is my command line:</p>
  
  <blockquote>
    <p>java -jar compiler.jar --compilation_level ADVANCED_OPTIMIZATIONS --formatting=pretty_print --output_wrapper PGS --js common.v2.0.raw.js --module common_min:1 --js page_code.raw.js --module page_code_min:1:common_min</p>
  </blockquote>
  
  <p>I thought the <code>output_wrapper</code> option is used to solve this problem, but either I'm misunderstanding its purpose or I'm misusing it.</p>
  
  <p>TIA.</p>