Keep in mind that the new bolt has a JM stamped on it versus the JH, so there might be a difference in strength also. They're both the same length.
I have no idea what JM and JH mean, but my current bolt is JM and has the same three radial line markings as the old bolt, indicating both are grade 5.