add externalURL click event + make a common function for adding events on objects
prevent reprocessing of items + change couple function names