(refactor) Add comments for HTML templates

@lmle can you merge?