fixed accidental typo in idGenerator.js