Fix for webpack

Fix for #188