Event-driven OS kernel built on V8 JavaScript engine