minify js vendor libs and optimize images