remove unused methods and shrink static test html