Converts javascript into an HTML table for insertion into documentation