Fix for some JSHint errors.