A few more tweaks resulting from JSHint.