Resolve JSHint warnings.