Javscript injection is not free. In fact, it is actually one of the most expensive options in the monitoring toolkit. It will change the performance of your UI and runs a serious risk of breaking your application, unless the scripting is incredibly simple. However, in some cases, it might be the only way to get a client-side presence. Consequently, you should only pull that tool out of your toolbox if it is absolutely necessary.