uglify use everywhere and error reporting