Implement javascript handling with QtScriptEngine in place of PyV8

Here you go :)