Hai provato a mettere onload al body?