Update client.js

Added missing semicolons
Merge pull request #3 from Samardon/master

Update client.js