Fix for JSHint warnings.