I wonder if a new implementation of JavaScript was needed. My first hunch would have been to try Fabrice Bellard's QuickJS:
https://bellard.org/quickjs/
That being that everything in SerenityOS and its several related projects is made from scratch.
They are using Qt and C++. They have chosen where to draw a line, which is fine, and that line happens to be on the other side of "Javascript Engine".
Everything is from scratch on SerenityOS. Ladybird takes as much of that as it can but the is not afraid to use existing tech for the bits of Serenity that cannot currently be used on Linux ( the GUi framework and networking ).
Also, they are making a new programming language (Jakt) to replace a lot of the C++
Of course, every respectable software project sooner or later invents its own language!