Added code to render joint links