div not properly closed in sample-dynamic-2.html