add maketb.js, make_tbfile function will generate html code like tb.html