add adapter.js to repository
add adapter.js to repository