added adapter.js, fixed turn server support for firefox