Update browser stats to use common libraries
Add a local dist script for testing