Fix syntax error

I removed `})` since it cause syntax error on js console