Switch from Browserify to webpack.

To get working common module factoring.
Update JS builds.