Fix two JSHint warnings