Common JS API: minor fix for RhoSimulator native bridge