DweetAdapter.js changes