qml as js