QML to JavaScript toy project