Fixed themeFactory and temporarily disabled uglify.