Use index of hints internal instead or number.

This fastens the hint processing a little and uses less code than searching
for the hint with a given number in the internals of the hinting javascript.