wasm-bindgen is a dual with bindgen but for connecting your rust code to the js things. it can import JavaScript things into Rust and export Rust things to JavaScript.
web-sys is a crate with bindings to all the Web APIs which is mechanically generated by wasm-bindgen using Web IDL
another page to look at is this one which is where I found this info