An implementation connecting Jasmine and PhantomJS