Update smallpt for webkit