We need to unref the result wrapped by this object in its dtor.
Include wx headers using quotes, not angle brackets. Wrap over long lines. Don't put space between the function name and its arguments. Make wxJSStringRef::ToWxString() itself, not its return value, const. Improve comments.
This is a squashed commit of the SOC2017_WEBVIEW_JS branch from https://github.com/joseeloren/wxWidgets.git Closes https://github.com/wxWidgets/wxWidgets/pull/538