sentence: early in 1944 , her aircraft provided air support in the gilbert and marshall islands campaign before she was transferred to the indian ocean for several months to support the royal navy 's eastern fleet as it attacked targets in java and sumatra .