Adds contexts option to HtmlGrid.