list vs. grid JS updated