correcting js links