Losslessly compressing images to help page speed