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