Removing 'self.' references from o_table_html

This code used to be in a class, and is no longer. The references
to 'self' are not used, but the variables can be provided as inputs.
Merge branch 'fix/html_self'