replace cg-square class with cg-board > div