Update client.js

Added missing semicolons