use dom api; rm old components