I would like to add a function to the UserActions.wsc. How do I debug?

I've created a script:
Code:
function main()
{
    var ua;
    ua = new ActiveXObject("ACP.UserActions");
    ua.SetGuiderFilter();
}
And try to run it from the ACP. But no go:
Code:
**Script Error**
Source:   Microsoft JScript runtime error
Message:  Syntax error
Location: line 4 column 2.
Script Context:
       1: function main()
       2: {
       3:     var ua;
=>     4:     ua = new ActiveXObject("ACP.UserActions");
           ^
       5:     ua.SetGuiderFilter();
       6: }
-- end --
Not sure what it is complaining about. Suggestions?
Thx,
George