Added a adapter file

Take care of few thing across browsers