Add article behavior of links created using Javascript