[#3] add flashing animation to links
tweak some of the code for event subscription