Common JS API: real fix for native bridges