Fix current link javascript