Remove trailing whitespace
Add unique id for each anchor img link
Add event listener for search and top-ten button