Do we need this stuff still or is it hacks for jasmine headless webkit?