Support for dynamically generated links

I added support for links that are generated dynamically. (ex. AJAX
load of links)