Display grid of squares using jQuery