Fix webpack config & use patched karmak version