You need to use the below syntax to save the file..
app.execMenuItem("Save"); (OR)
app.execMenuItem("SaveAs");
Niall had put together a very nice form for you to understand all the different menu items.
http://forums.adobe.com/message/2386025#2386025
Thanks
Srini