Fix issue with showing logs in the browser console