first working version able to render paper in webkit.