When you got the error message, it very likely also referred to a line number - line line number is oftentimes either the line that the problem is in, or in the line after. Sometimes (this depends on the error), it points to a line that is way after where you've introduced the error. But, as a general rule, look around the line that it points you to.
You've already figured out which line it is (and with the help of the last two comments), you already know how to fix this. In general, the error message is usually pretty good at describing what the problem is. In this case, it is complaining about a missing ")" - and if you think about this, it is correct: Because you've never ended the string (because of the missing '"'), the interpreter did not find the closing ")".
If this does not make sense, do yourself a favor and invest into a good JavaScript introduction. You need to be familiar with the syntax of the language and know how to figure these things out.
Karl Heinz Kremer
PDF Acrobatics Without a Net
PDF Software Development, Training and More...
http://www.khkonsulting.com