Fix for media page minification problem