factorizing render using filterCollection method
update index.html (filter part) upto master version