refactor browser version