The feral Rahwana lures Shinta away from Rama.
A battle ensues between the Good and Bad guys and Shinta is rescued.
Now, girls, this is the contentious part (in modern day terms anyway).
After her time with Rahwana, Rama has doubts as to whether Shinta is still virtuous. Fortunately for her, she dispels her fall from grace by surviving the flames and fire set by the demon giants.
The couple are reunited and live happily ever after . . . and even have twin sons.
Good triumphs over evil and all ends well under the Javanese moon.
Spoiler: The story has it that some time later, when the sons are grown up, Shinta decides that her time on the earth is nearing its end, and ends her life by asking mother earth to open and swallow her.
Now what's the moral of that story?
Selamat Malam Bapak dan Ibu.