Fix syntax error

There was an extra `});` causing a syntax error crash.