refactor browser analyzer