fixed some paren errors in client.js