Log injector browserify transformation