map JS to JSBridge.