Modify link_to, set id for js