JavaScript-side bindings.