fix memory leaks on HTMLOrderedDictionary deallocation