move setup -> fdom.setup as preparation for node require()