Changed to use poltergeist instead of firefox