feat(web-server): run karma using multiple emulation modes
Closes #936, #631