It might help if you could point us where line 72 is (or whatever line it was).
Here's something I noticed: you're using the name Function as parameter name, which may conflict with the JScript's built-in Function class. I suggest you change the name of the parameter (and its references).
Also, where are you defining FSO?
js code:
"Save" : function(Path)
{
var TextFile = FSO.CreateTextFile(Path, 2);