reducing size of index.html.erb