getting bare-bones demo working with latest D3