[OS/2] js: add random seed generator.