return html object from justgage and datatable functions