This is a JavaScript version where you can get a list of near-filenames and edit them one by one.