title: javascript minification how to handle function renaming declared as var
body: <p>just to simplify the issue I am facing
  I have a xyz.js which is compressed before production usage <br/>
  Now I have a top level function defined inside xyz.js and inside it private functions
  ex.<br/>
      var foo1234 = function(){
      ...
      }</p>
  
  <p>now I use foo1234() in other places within the same file. But after minification foo1234() gets renamed and my code which accesses foo() now fails. How can I avoid this and still do proper js compression?</p>
  
  <p>any help or standard practice to avoid this will be great.</p>