Changed it to work with Google Closure Compiler's ADVANCED_OPTIMIZATIONS