init ui for index.jsp and static files