adds javascript function to esclude yourself from the logs