Using onload callback instad of timeout function, makes more sense..