switch example to webpack. it actually works now.