update and refactor default.html, close #3811