js: support for Dual Action.  Added unload method: return to RC when done.