OO with rere? how to work-around?

I’m not sure what your goals are. But if you simply want to compile to JavaScript, I’m pretty sure js_of_ocaml handles them perfectly.