Biden was laughing because the moderator played her part and read the script to the letter. Biden had been sequestered studying his script, so yes it would be hard to hide his joy at the show. It followed the democrat script. In his head he was screaming yes, yes, yes, this is going to be easy and his joy leaked out in the form of his personality. He knew he could be condescending and rude and get away with it.