Normalize closure compiler advanced optimizations
Fix some cross-browsers bugs