Binding Javascript object to QObjects