Give javascript its own home and revert to using JS random.