uses poltergeist for javascript tests