succeeded in getting react elements working