Fix HTML links on JS elements