correcting the js links