poking the spec and tweaking run-jasmine.js
refactoring run-jasmine.js from phantom.js team
more refactoring, happy with the waitFor function