Fixes found by jshint.