When a user is blocked, ban them from chat.

Suggested by Krusher

Also some changes for JSlint

Change-Id: I76e84cdb29bbc8645e701776b9c89d8a4949fd75