added class TJsProcess with method sleep