'}' expected. Parsing error: Unexcepted token

It’s hard to see from a screen shot, but I suspect that it’s because you don’t have the closing line of the onReady() function. Try adding the following line to the end of your code:

});