--amendnow using webpack instead of browserify, and refactored server-side rendering