used poltergeist as js driver for testing