Iterated Ramsey bounds for the Hales-Jewett numbers