He made the decision to do so 45 minutes into the attack.
The baby is believed to have been dead for at least three days.
Netizens praised the two men, wishing them an abundance of blessings.
The teacher claimed he had accidentally clicked on "something", which led to the inappropriate website.
The embalmer also threatened one of her students by telling them "You didn't see anything."
He suffered multiple fractures from the fall.
ZUS Coffee opened its first outlet in Singapore last October and has 3 outlets to date.
He was apprehended by the Royal Malaysia Police and handed over to the Singapore Police Force.
Police initially suspected it may have been a case of human sacrifice.
He faced a maximum sentence of two years in prison and a RM5,000 (approximately S$1,500) fine.