fix error js sdk on footer