edit function LoadHTMLGlob, support template in multiple directory