I have developed an application in javascript, and my company wants to minify and obfuscate the code before we publish it on the webpage. The application is built as one javascript object with attributes and functions inside. Example, so that you can understand the structure:
Code:
function MyApp(){ 
  /** @private */
  this.effect=0.2;

  this.var1="test";
  this.var2=34;
}

/**
 * 
 */
MyApp.prototype.initialize = function() {
  // code here
}

/**
 * @private
 */
MyApp.prototype.print = function() {
  // code for private function here
}
Some of the functions are private, and so are some of the objects variables/attributes as well. I use JSDoc to mark them private, and NetBeans (the IDE I use) will mark them and treat them as private. The problem is that minifyers and iglyfiers will not abfuscate the private functions and variables/attributes. Only the local variables inside the functions are obfuscated.

Does anyone have a tip?

I hope to use yui compressor as my main tool for minifying.