Infuriatingly trying to get jasmine to run in the context of a vm.