updated adapter.js build