Js sdk not working

Ahah. Is there a (simple) way to prevent this from happening?