working with phantomjs now. Had to add a hack for it :-(