fixed issues with google closure ADVANCED_OPTIMIZATIONS compilation

fixed navigate in pages is broken

fixed build WARNING - incomplete alias created for namespace goog