changed js links to js router