Added onload to M effect.