What do you want to name them then? I see the prefix "art_" but if you export multiple artboards they would successfully overwrite each other if they didn't include the artboard name. I have a method of doing what you are asking but you'll need to differentiate the filenames in some way so they don't overwrite each other. If you are only exporting one artboard at a time (I don't know what you set in your `whatToExport` var) then that is pretty easy as shown in the code below.
var doc = app.activeDocument;
var artboard_idx = 0; // artboard you want to export (0-based index)
var artboard = doc.artboards[artboard_idx];
var prefix = "art_";
var jpegParam = new ExportForScreensOptionsJPEG();
var whatToExport = new ExportForScreensItemToExport();
whatToExport.artboards = artboard_idx + 1 + "";
doc.exportForScreens(
doc.path,
ExportForScreensType.SE_JPEG100,
jpegParam,
whatToExport,
prefix
);
// When exporting artboard using the exportForScreens method, the api adds
// "Artboad" to the actual artboard name resulting in `{prefix}Artboard X.{extension}`
// To be able to correctly name the exported file, I am recreating the known
// naming convention with a new `file` object to that path and then just renaming the file.
exportedFile = new File(doc.path + "/" + prefix + artboard.name + ".jpg");
exportedFile.rename(prefix + ".jpg");