refactor collection.html