browserify transform to replace paths with strings