Original: For the most part, Islam overlaid and mixed with existing cultural and religious influences, which shaped the predominant form of Islam in Indonesia, particularly in Java.
Simplified: But it mixed with existing cultural and religious influences.