minor corrections to make server.js and channels.js pass jslint tests