Make header animations work for minified build.