Modify html doc