Add JS-Classes of grid and snake