Update target for links via JS