return html doc and return score html doc