Practice page: collecting all the email addresses or links on a webpage with JavaScript