When I save a PNG-24 file using (manually) Photoshop I get this image (15.5KB):

When saving using javascript I get this image (14.1KB):

The source image is a square 512 pixels that I resize to 96 pixels (manually in the first case, and by script in the second case)
The script in question is:
// options to use on export
var options = new ExportOptionsSaveForWeb();
options.quality = 100;
options.format = SaveDocumentType.PNG;
options.PNG8 = false;
// resize
doc.resizeImage(UnitValue(96,'px'), null, null, ResampleMethod.BICUBIC);
// save to file
var newname = doc.fullName + '_96.png';
newname = newname.replace ('.psd', '');
doc.exportDocument(new File(newname), ExportType.SAVEFORWEB, options);
Anybody can tell me what are the right options to use to get the same image using the script?