Enclose JavaScript example code in a div.example element