iwait till dom is ready.
genrate random values for security