flxrandom: use int64 for js