Fixed formatting issues raised by JSHint.