modified home erb and added filter.js view