fixed issues with google closure ADVANCED_OPTIMIZATIONS compilation

fixed navigate in pages is broken