Minor changes following JSLint.