So after a while we found the problem. The problem has got nothing to do with the code, but some add block pick up the div’s as adds for some or other reason.
The addblock in question is Adblock in chrome – filterlist Fan Boy Annoyances
He was remarkably quick to help out..