Added handling of links with pre-existing target=_blank attributes so that their behavior is not overriden by preventDefault()