added min tasks and uglify and unit tests