QJSEngine and Dijkstra