Complex sentence: It is endemic to Indonesia where it occurs on Sumatra and Java, where its natural habitat is subtropical or tropical moist montane forests.
Split into simpler sentences: It is endemic to Indonesia where it occurs on Sumatra and Java. Its natural habitat is subtropical or tropical moist montane forests.