moved adapter.js to app/gs