Support QJSValue conversion

Support QJSValue to fix this error on Qt 5.4:
```
QML::ConversionError:
       failed to convert QVariant value (QJSValue)
```