Looking at a random page that displays some version of script you're using (
https://gist.github.com/laurenorsini/10013430), and at your screen dump, I think the problem comes from the way you acquired the script.
I suspect you copy-pasted it to your computer and when doing that an application or your locale decided it would be adequate to turn double quotes (") into a left- or right- quotation mark (“ or ”). Wrong.
The first form is a universally accepted way of escaping strings and part of the ASCII character set, the second is not and is part of the extended Unicode character set.
In a text editor replace all “ and ” with " and execute the script again.