Updated JSON and karma version

Fixes #5