uses existing dom by id if present