Fixed some JSHint errors.