Refactor target='_blank' usage