Javascript based documentation generator