okay I got documents to work on the javascript side.
now if we want to make documents page all we have to do
is inherit from the RPM templates