Closed div tag - breaks on latest jquery