add event listener for chrome message to get youtube time and url