testing new function inside random
Merge pull request #1 from saadnaji/iecomp

introducing IE compatiblity