Update Guid.js

Corrected loop bug...