fix requestanimationframe for phantomjs