Dom cleanup for classList