use adapter.js instead of own shim