Applies a grid ontop of the DOM