Added a couple JSLint-caught fixes.