Implement PhantomJS as a trait.
Refactor JasmineTest.