file photosTop row from left, Cash Johnson, 17, and Christian Tinli, 18, and bottom row from left, Julian Daley, 16, and Chris Conway, 17 are four out of the five defendants in the Old Bridge slaying case. A photo for Steven Contreras, 17, was not available.

OLD BRIDGE — Some Facebook conversations and text messages between several Old Bridge teenagers can be used against them in their murder trial in the beating death of a township resident on the sidewalk in front of his home.

Superior Court Judge Bradley Ferencz ruled 29 of 34 text messages were admissible, but said five others were too inflammatory, dealing with bragging by several of the boys about their actions in the attack on Divyendu Sinha.

The text messages were between Julian Daley, 16, Christopher Conway, 17, and Cash Johnson, 17, the night of June 25, shortly after Sinha and his two sons were attacked in front of their home on Fela Drive.

In the text messages that were admitted, Conway and Daley allegedly plan to beat someone else up the night of June 26 and discuss what they should say if questioned by police. In the messages not admitted, the two allegedly discuss how much they enjoyed beating up Sinha.

The Facebook entries that were admitted were between Daley and Johnson and another series between Daley and another friend in which Daley relates what he, Johnson, Conway, Christian Tinli, 18, and Steven Contreras, 17, had just done. The two also discuss how Daley could hide his identity from police.

Tony Kurdzuk/The Star-LedgerMiddlesex County Superior Court Judge Bradley Ferencz points to Julian Daley, one of five juveniles charged in the beating death of Old Bridge computer scientist Divyendu Sinha in this 2010 file photo. Ferencz ruled today that the five suspects' social networking can be used against them.

Ferencz said the text messages and Facebook entries are evidence Middlesex County Assistant Prosecutor Christopher Kuberiet could use to show the five conspired to attack Sinha and planned to attack someone else the next night.

Sinha died after being attacked by at least three youths while walking with his wife and two sons in front of their home late in the evening of June 25. The sons were not seriously injured and Sinha’s wife, who was with her family, was uninjured.

Many of the text messages were made within 10 minutes of the assault and discussed the attack, according to Kuberiet, who sought to use them in the boys’ upcoming trial.

Authorities said the juveniles, who will be tried as adults on charges of murdering Sinha, had been drinking before the attack and decided to go "wilding," and look for people to attack.

When they saw the Sinhas, authorities said, the car carrying the five teens pulled up near the family. Three teens got out and attacked Sinha, beating him to the ground with their hands and feet, authorities said. Sinha was rushed to Robert Wood Johnson University Hospital in New Brunswick, where he died four days later.

Ferencz said he plans to set a trial date in either August or September.

Four of the five teenagers are free on bail. Daley, who has twice violated conditions of his bail, is in the Middlesex County jail in lieu of $1 million bail.

Video of suspected teens singing with friendsIn a video that also was published to YouTube earlier this year, Cash Johnson, 17, and Christian Tinli, 18, are seen singing with a group of friends. Johnson and Tinli are two of the five Old Bridge teenagers charged with fatally beating a man as he walked in front of his home with his wife and two sons. It was announced that all five teens will be tried as adults.