Best way to identify jibri

I want to run a function only on Jibri by adding script in index.html file.
I tried following code but this code runs on all participants. I want to run it only on Jibri.
What is best option to run a code only on jibri

function jibriFunction() {
var isRecorder = APP.store.getState()["features/base/config"].iAmRecorder;
   if (!isRecorder) return false;
// run some code for Jibri
}

:+1: