Simple Prowl notifications for After Effects render completion
The script extract you include:

app.project.renderQueue.render();
function(){system.callSystem(“Open growlnotify")};


has a dodgy opening quote.  “ is not the same as " - this is why you are getting the syntax error.

app.project.renderQueue.render();
(function(){system.callSystem("Open growlnotify")})();


works (the (..)() calls the anonymous function). You need to add the parentheses so that the anonymous function gets called, or simply do system.callSystem("Open growlnotify"); without the anonymous function.

You also need to activate "allow scripts to write files and access network" in Preferences/General, otherwise callSystem is blocked.

In the full script you post, when you replaced type = "web" on line 24 to use growl, the same error probably slipped in.  Check your keyboard autocorrect settings to ensure that you've not got curly quotes.