fix memory leaks on HTMLOrderedDictionary deallocation

Closes #7.