Karma 0.11 compatibility, "npm run-script demo" fix