using poltergiest for headless instead of webkit