First step to use javascript to write the a href