browser compatibility modifications