modified rx.js to make it possible for debuggability.js to handle it