add lib and base html