Targets can now be DOM nodes or windows