Update urls to display + fixing js code