You have your own HTML chat and you don’t other people to steal your script and use it inside their own site ?
You can easily protect your script so it can only be embedded inside your own website:
That way ONLY this URL will be able to embed your html5 chat script.