add crossDomainLinker option to be consistent with public api
check if crossLinkDomains option is not empty
add tests to cover new options
add helper function for option checking