Converts Javascript to HTML table for insertion into documentation