changed board to reflect js object