Added ability to give custom converter function when calling R from JS (with test).