Modified AnnotatorJS destroy method and added test.