removed uglify js and improved directive processor