Ensure tabs and accordions have been initialized before destroying.
display_anything module was causing js errors. Not sure where fault lies but
this fixes.