Added Error handler after Uglify