What do you see as the benefits of translating into a javascript PRDocument type structure?
I guess it would make more sense to use a neutral format ie javascript version of PRDocument if Pier would ever support other wiki formats such as Markdown [1] or Google wiki syntax [2]