Redesigned JS coding | Minor tweaks to grid