Fix warnings.

I missed some jsHint problems before pulling in #570.  This fixes them and also updates CHANGES.

@shunter can you get this in ASAP please.