Corrected JavaScript error in line 208.

The while loop allowed another run of the loop while arrayPointer was
greater than the length of the array (arrayLength). This caused an error
in line 225 when a nonexistent item was pulled from the array.