Cross Browser stuffs

and randomizer stuffs.
don't need that anymore