debugged uglify error on build