fix javascript menu links