Fixed compatibility with Closure Compiler

Fixed compatibility with Closure Compiler when ran with --compilation_level ADVANCED_OPTIMIZATIONS