... A-Z0-9._-]+\.[a-zA-Z0-9._-]+)/gi);}email = "",pho ...
└─ You are missing a ";" at column 187.
It is actually not the generator's fault because you are missing the semicolon in your code:
helper.extractEmails = function (text) {
return text.match(/([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9._-]+)/gi);
}
Now if you add it back, it works: http://jsfiddle.net/3HrMB/2/
Next time you can use JSLint to see where the problem is: