get it working with webpack