fix for disconnecting, using createElement instead of innerHTML for adding component