some js updates for url and social links for mobile