Browserify transform to copy assets to a common location and update references