JSHint compliance.
s/log/warn/