added support for compiled html stored from server