Use PhantomJS and Poltergeist for tests

Space inside } missing.