added onload random, prevented page refresh after submit