Commit Exercise 5 after reducing Dom appends